<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Paste Bin</title>
<link rel="stylesheet" type="text/css" media="screen" href="/style.css" />
<style type="text/css">
/* make it clear */
.paste-body {width:100%;overflow:hidden;}
textarea{height:500px;}
</style>
</head>
<body>
<div id="main">
  <table id="title-bar">
    <tr>
      <td>
        <h1>
         <a href="/" class="text-like">Paste</a> <a href="/all" class="text-like">Bin</a>
        </h1>
      </td>
      <td align="right">
        {% if user %}
          {{ user.nickname }}<a href="{{ url }}" class="url">logout</a>
        {% else %}
          <a href="{{ url }}" class="url">login</a>
        {% endif %}
      </td>
    </tr>
  </table>
  <div id="post-new">
    <form action="/save/{{ post.key.id }}" method="post">
      <table width="100%">
       <tbody>
         <tr>
           <td><textarea id="txt" name="txt" wrap="off">{{ post.body|escape }}</textarea></td>
           <td width="100px" style=""><input type="submit" onclick="" value="OK" class="btn"/></td>
         </tr>
       </tbody>
      </table>
    </form>
  </div>
</div>
</body>
<script type="text/javascript" src="/main.js"></script>
</html>
